package com.zhongjian.technologycal.mall.bean;

import java.util.List;

/**
 * Created by wei on 2018/1/29.
 */

public class BaseRecordBean {

    /**
     * error_code : 0
     * error_message : 成功
     * data : [{"memo":"现金币充值","createTime":"2018-01-26 12:41:00","amount":0.01,"addSub":"+"},{"memo":"转让 200.00 现金币到用户 100","createTime":"2018-01-24 09:05:49","amount":200,"addSub":"-"},{"memo":"转让 150.00 现金币到用户 100","createTime":"2018-01-24 09:00:06","amount":150,"addSub":"-"},{"memo":"转让 100.00 现金币到用户 100","createTime":"2018-01-24 08:55:10","amount":100,"addSub":"-"},{"memo":"购买商品，订单号：B20171226175309818350451","createTime":"2017-12-26 09:53:09","amount":15.66,"addSub":"-"},{"memo":"取消订单，订单号：B20171201160336658439376","createTime":"2017-12-08 03:35:32","amount":15.66,"addSub":"+"},{"memo":"购买商品，订单号：B20171201160336658439376","createTime":"2017-12-01 08:03:36","amount":15.66,"addSub":"-"},{"memo":"获得手气红包","createTime":"2017-10-21 02:43:11","amount":2.12,"addSub":"+"},{"memo":"取消订单，订单号：B20171019142258833830318","createTime":"2017-10-20 01:57:31","amount":13.54,"addSub":"+"},{"memo":"购买商品，订单号：B20171019142258833830318","createTime":"2017-10-19 06:22:58","amount":13.54,"addSub":"-"}]
     */

    private int error_code;
    private String error_message;
    private List<DataBean> data;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * memo : 现金币充值
         * createTime : 2018-01-26 12:41:00
         * amount : 0.01
         * addSub : +
         */

        private String memo;
        private String createTime;
        private double amount;
        private String addSub;

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public double getAmount() {
            return amount;
        }

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public String getAddSub() {
            return addSub;
        }

        public void setAddSub(String addSub) {
            this.addSub = addSub;
        }
    }
}
